package com.lhy.framework.test.bean;

import com.lhy.framework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @Title:
 * @Description: 功能概述:
 * @Author: lihaiyang
 * @version: 1.0 .
 * @Date: 2022-09-14 17:13
 * @Copyright: Copyright(c)2022 RedaFlight.comAll Rights Reserved
 */
@Component
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "尐海哥，深圳，南山");
        hashMap.put("10002", "八杯水，上海，尖沙咀");
        hashMap.put("10003", "阿毛，香港，铜锣湾");
    }

    public String queryUserName(String uId) {
        return hashMap.get(uId);
    }
}
